package com.itheima.dao;

import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    Long findOrderSettingByDate(Date orderDate);

    void updateOrderSetting(OrderSetting orderSetting);

    void addOrderSetting(OrderSetting orderSetting);

    List<OrderSetting> getOrderYearAndMonth(Map<String, String> condition);

    OrderSetting  findByOrderDate(Date orderDate);
      void editReservationsByOrderDate(OrderSetting orderSetting);
}
